#ifndef PATTERNEDITOR_H
#define PATTERNEDITOR_H

#include <QWidget>
#include "globals.h"

class Pattern;

namespace Ui {
    class PatternEditor;
}

class PatternEditor : public QWidget
{
    Q_OBJECT

public:
    explicit PatternEditor(QWidget *parent = 0);
    ~PatternEditor();
    void loadPattern(Pattern * pattern);
private:
    Ui::PatternEditor *ui;
    QList<Pattern *> patterns_;
    Pattern * current_pattern_;
public slots:
    void reloadPattern();
    void readTransport();
};

#endif // PATTERNEDITOR_H
